package com.wavecoler.professor.objects;

import java.io.Serializable;
import java.util.ArrayList;



import javax.xml.bind.annotation.XmlRootElement;


@XmlRootElement
@SuppressWarnings("serial")
public class Team implements Serializable {
	

	private String encodedKey;
	private int teamId;	
	private String teamName;
	private boolean active;	
	private Course course;
	private ArrayList<User> users;
	
	//Constructors
	public Team() {
	}
	
	public Team(String teamName, ArrayList<User> users) {
		this.teamName = teamName;
		this.users = users;
	}
	
	public String getEncodedKey() {
		return encodedKey;
	}
	
	public int getTeamId() {
		return teamId;
	}

	public void setTeamId(int teamId) {
		this.teamId = teamId;
	}
	
	
	public String getTeamName() {
		return teamName;
	}

	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}

	public Course getCourse() {
		return course;
	}

	public void setCourse(Course course) {
		this.course = course;
	}

	public boolean isActive() {
		return active;
	}

	public void setActive(boolean active) {
		this.active = active;
	}
	
	public ArrayList<User> getUsers() {
		return users;
	}

	public void setUsers(ArrayList<User> users) {
		this.users = users;
	}


	
}
